package com.rybbaby.tss.front.tssStatistics.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * //@description  亲子会员剩余课时
 * 
 * //@author 雷春琼
 * 
 * //@createDate 2017-08-10 上午12:25:24
 */
//@Entity
//@Table(name = "view_parenting_surplus_package")
//@DynamicUpdate(true)
//@DynamicInsert(true)
public class ViewParentingSurplusClassHour implements Serializable {


	private static final long serialVersionUID = -3567895936855439247L;
	/** 主键 **/
	private String id;
	/** 会员姓名 **/
	private String studentName;
	/** 生日 **/
	private java.sql.Timestamp birthdayDate;
	/** 电话 **/
	private String contactPhone;
	/** 总课时数正课 **/
	private BigDecimal totalClassHours;
	/** 总课时数赠课 **/
	private BigDecimal presentClassHours;
	/** 已消耗课时数 **/
	private BigDecimal consumptionClassHours;
	/** 剩余课时数 **/
	private BigDecimal surplusClassHours;
	/** 剩余补课 **/
	private BigDecimal remediationClassHours;
	/** 剩余赠课 **/
	private BigDecimal surplusPresentClassHours;
	/** 剩余课时金额 **/
	private Double balances;



	/**
	 * 方法: 取得主键
	 *
	 * //@return java.lang.String 主键
	 */
	//@Id
	//@GeneratedValue(generator = "view_parenting_surplus_packageIDGenerator" , strategy = GenerationType.AUTO)
	//@GenericGenerator(name = "view_parenting_surplus_packageIDGenerator" , strategy = "uuid")
	//@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}
	
	/**
	 * 方法: 设置主键
	 *
	 * //@param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}

	//@Column(name = "studentName", nullable= true, length = 32)
	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	//@Column(name = "birthdayDate", nullable= true, length = 32)
	public Timestamp getBirthdayDate() {
		return birthdayDate;
	}

	public void setBirthdayDate(Timestamp birthdayDate) {
		this.birthdayDate = birthdayDate;
	}

	//@Column(name = "contactPhone", nullable= true, length = 11)
	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	//@Column(name = "totalClassHours", nullable= true, length = 12)
	public BigDecimal getTotalClassHours() {
		return totalClassHours;
	}

	public void setTotalClassHours(BigDecimal totalClassHours) {
		this.totalClassHours = totalClassHours;
	}

	//@Column(name = "presentClassHours", nullable= true, length = 12)
	public BigDecimal getPresentClassHours() {
		return presentClassHours;
	}

	public void setPresentClassHours(BigDecimal presentClassHours) {
		this.presentClassHours = presentClassHours;
	}

	//@Column(name = "consumptionClassHours", nullable= true, length = 12)
	public BigDecimal getConsumptionClassHours() {
		return consumptionClassHours;
	}

	public void setConsumptionClassHours(BigDecimal consumptionClassHours) {
		this.consumptionClassHours = consumptionClassHours;
	}

	//@Column(name = "surplusClassHours", nullable= true, length = 12)
	public BigDecimal getSurplusClassHours() {
		return surplusClassHours;
	}

	public void setSurplusClassHours(BigDecimal surplusClassHours) {
		this.surplusClassHours = surplusClassHours;
	}

	//@Column(name = "remediationClassHours", nullable= true, length = 12)
	public BigDecimal getRemediationClassHours() {
		return remediationClassHours;
	}

	public void setRemediationClassHours(BigDecimal remediationClassHours) {
		this.remediationClassHours = remediationClassHours;
	}

	//@Column(name = "surplusPresentClassHours", nullable= true, length = 12)
	public BigDecimal getSurplusPresentClassHours() {
		return surplusPresentClassHours;
	}

	public void setSurplusPresentClassHours(BigDecimal surplusPresentClassHours) {
		this.surplusPresentClassHours = surplusPresentClassHours;
	}

	//@Column(name = "balances", nullable= true, length = 12)
	public Double getBalances() {
		return balances;
	}

	public void setBalances(Double balances) {
		this.balances = balances;
	}

}